package qc.module.sl.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import qc.module.sl.dto.station.StationDto;
import qc.module.sl.entity.SlBasicStations;

import java.util.List;

/**
 * BasicStationsMapper
 *
 * @author QuCheng Tech
 * @create 2023/02/14
 */
@Mapper
public interface BasicStationsMapper {
    BasicStationsMapper MAPPER = Mappers.getMapper(BasicStationsMapper.class);
    
    StationDto toDto(SlBasicStations en);
    
    List<StationDto> toDtoList(List<SlBasicStations> list);
}
